<?php
include "includeFiles.php";
if(empty($_SESSION['user_id'])) echo "<script>location.href='login.php';</script>";
include "page.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $C['Title'];?></title>
<Link href="../uploadfile/ico/<?php echo $C['ICO'];?>" rel="Shortcut Icon">
<meta name="Keywords" content="<?php echo $C['Keywords'];?>">
<meta name="description" content="<?php echo $C['Description'];?>">
<Meta name="Copyright" Content="<?php echo $C['CopyRight'];?>">
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link charset="utf-8" rel="stylesheet" href="css/alipay.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
</head>
<body id="mainbody">
<?php include_once('header.php');?>
<!--主体布局-->
<div class="main">
  <div class="locahostDIv"> <span>当前位置：<a href="index.php&cityid=<?=$cityid?>">首页</a></span> >
  <?
   if($keyword)	{ echo "搜索中"; }else{
  
  ?>
   <a href="on.php?hid=110&cityid=<?=$cityid?>">2G号码套包</a> > <a href="on.php?cateid=<?=$cateid?>&cityid=<?=$cityid?>"><?=$alink=$info->getProLinks($cateid)?></a> 
   <? }?>
   
   </div>
  <div class="contant">
    <div class="left">
      <div class="fen">
        <div class="box">
          <div class="tital">
            <div class="tit"><em>产品分类</em></div>
          </div>
          <div class="main2">
            <div class="sorttab">
              <ul class="tab">
	<?php	
	$vm=$info->getProMenu(110);
	if($vm){
	foreach($vm as $key=>$value){
	 ?>
        <li class="l1"><a href="on.php?cateid=<?=$value['SysProCategoryID']?>&cityid=<?=$cityid?>"><?=$value['CateName']?></a></li>
            <? }}?>
              </ul>
            </div>
          </div>
        </div>
        <div class="bot"></div>
      </div>
    </div>
    <div class="right">
      <div class="about2">
        <div class="box">
          <div class="main1">
              <div class="pageInfo">
                <ul class="thumbnails three-columns landing">
               <?php	
	$vm=$info->getProMenu(110);
	if($vm){
	foreach($vm as $key=>$value){
	 ?>
				  <li> <a href="on.php?cateid=<?=$value['SysProCategoryID']?>&cityid=<?=$cityid?>">
                    <div class="thumbnail">
                      <div style="top: 149px;" class="text">
                        <div class="text-header">
                          <h4> <span><?=$value['CateName']?></span>
                           </h4>
                        </div>
                        <p><b >类别描述：</b><br />
                        <?=$value['Intro']?>
                        </p>
                      </div>
                      <img class="photo" alt="<?=$value['CateName']?>" src="admin/pic.php?imagename=../uploadfile/category/<?=$value['Photo']?>&amp;imagewidth=339&amp;imageheight=205&amp;cuteit=0" 
					   onerror="javascript:this.src='images/1.jpg'"  
					  /> <span class="shadow"></span> </div>
                  </a> </li>
            <? }}?>
                </ul>
              </div>            
            <script type="text/javascript" src="js/jquery.min.js"></script>
            <script type="text/javascript" src="js/plugins.js"></script>
            <script type="text/javascript" src="js/script.js"></script>
          </div>
        </div>
		<div align="center"> <?php echo $pagenav; ?></div>
        <div class="bot"></div>
      </div>
    </div>
  </div>
  <div class="gehang"></div>
  <div style="width:980px;height:100%;overflow:hidden;margin-top:10px"> <img src="images/copy_line.jpg" /><br />
    <br />
    <br />
    <img src="images/copy.jpg" />
    <?php include_once('help.php');?>
    <img src="images/copy_line.jpg" /> </div>
</div>
<div class="clear"></div>
<?php include_once('footer.php');?>

</body>
</html>
